package com.itheima.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


/**
 * 盘点任务
 *
 * @author diesel
 */
@Data
@ApiModel(description = "盘点任务")
public class CheckTaskDistributeDTO {
    @ApiModelProperty("主键")
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty("负责人")
    @NotEmpty(message = "负责人不能为空")
    private String personName;
}
